package com.example.hs.DTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
public class OrderDTO {

    private int recyclerId; // 回收员 ID
    private int categoryId; // 分类 ID
    private String address; // 地址
    private Double weight;  // 重量
    private BigDecimal price; // 价格
    private String iphone;   // 手机号
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reTime;// 预约时间
    private String status;//状态bu

    // Getters and Setters (Lombok will generate these automatically)
}
